package com.juku2024.juku.db.dao;

import androidx.room.Dao;
import androidx.room.Insert;
import androidx.room.OnConflictStrategy;
import androidx.room.Query;
import androidx.room.Update;

import com.juku2024.juku.db.entity.UnlockMoreModel;

@Dao
public interface UnlockMoreDao {

    @Query("SELECT * FROM unlockMore")
    UnlockMoreModel query();

    @Insert(onConflict = OnConflictStrategy.REPLACE)
    void insert(UnlockMoreModel entity);

    @Update(onConflict = OnConflictStrategy.REPLACE)
    int update(UnlockMoreModel entity);

    @Query("DELETE FROM unlockMore")
    void delete();

}
